/*
 * instruction.c
 *
 *  Created on: Mar 10, 2012
 *      Author: Dan
 */

#include "instruction.h"

instruction* instruction_init(enum OPCODE opc, int the_address){
	instruction* instr = (instruction*)malloc(sizeof(instruction));
	instr->address = the_address;
	instr->operation = opc;
	return instr;
}
